package com.rmfyzxfw.caseprocess.model.cmd;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "禁用/启用数据项")
public class DataItemManageCmd {
    @ApiModelProperty(value ="数据项id")
    @NotBlank(message = "数据项id不能为空")
    private String dataItemId;

    @ApiModelProperty(value =" 0 未启用  1 启用 ")
    @NotNull(message = "启用状态不能为空")
    private Integer status;

}